package club.zbiao.modules.system.service.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @author jie
 * @date 2019-03-29
 */
@Data
@NoArgsConstructor
public class JobDTO extends BaseDTO {


    private Long sort;

    /**
     * 名称
     */
    private String name;

    /**
     * 状态
     */
    private Boolean enabled;

    private DeptDTO dept;

    public JobDTO(String name, Boolean enabled) {
        this.name = name;
        this.enabled = enabled;
    }

    private Set<Long> deptIds;

    private  Long deptId;
}